<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
    <title>提货单-用户中心</title>
    {run $pageName='order'}<!--用于加载对应页面的css-->
    {include member.inc.csslink}
</head>
<body>
{include member.inc.header}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/member/order/car/index">订单管理</a> > 提货单</div>
    {include member.inc.leftNav}
    <div class="main pick_up">
        <section class="panel">
            <div class="header"><h1>提货单</h1></div>
                <form method="post" action="">
                <table class="table table1">
                    <thead>
                    <tr>
                        <th colspan="6">提货委托单</th>
                    </tr>
                    </thead>
                    <!-- <col style="100%" /> -->

                    <col width="80"/>
                    <col width="150" />
                    <col width="80"/>
                    <col width="80" />
                    <col width="80" />
                    <col width="80" />
                    
                    <tbody>
                    <tr class="time">
                        <td colspan="6">
                            <dl class="fl">
                                <dt>日期：</dt>
                                <dd><?php echo date('Y-m-d',strtotime($item[pay_time])) ?></dd>
                            </dl>
                            <dl class="fr">
                                <dt>编号：</dt>
                                <dd>{$lading[lading_no]}</dd>
                            </dl>

                        </td>
                    </tr>
                    {if $lading[company]}
                    <tr>
                        <th>会员名称</th>
                        <td>{$lading[company]}</td>
                        <th colspan="2">会员号</th>
                        <td colspan="2">{$lading[username]}</td>
                    </tr>
                    <tr>
                        <th>联系人</th>
                        <td>{$lading[legal_person]}</td>
                        <th colspan="2">联系电话</th>
                        <td colspan="2">{$lading[mobile]}</td>
                    </tr>
                    {else}
                    <tr>
                        <th>会员号</th>
                        <td colspan="5">{$lading[username]}</td>
                    </tr>
                    {/if}
                    <tr class="mark">
                        <th>提货人</th>
                        <td>{$shipping[shipping_fullname]}</td>
                        <th colspan="2">身份证号</th>
                        <td colspan="2">{$shipping[shipping_id_card]}</td>
                    </tr>
                    <tr class="mark">
                        <th>联系电话</th>
                        <td>{$shipping[shipping_mobile]}</td>
                        <th colspan="2">车牌号</th>
                        <td colspan="2">{$shipping[shipping_car_card]}</td>
                    </tr>
                    <!-- tr.mark>(th+td)*2 
                         tr>(th+td)*2  -->
                    <tr class="mark">
                        <th>出库方式</th>
                        <td>买家自提</td>
                        <th colspan="2">提货日期</th>
                        <td colspan="2"><?php echo date('Y-m-d',strtotime($shipping[shipping_time])) ?></td>
                    </tr>
                    <tr>
                        <th>提货补充</th>
                        <td colspan="5">{$shipping[shipping_remark]}</td>
                    </tr>
                    <tr>
                        <th>交收仓库</th>
                        <td colspan="5">{$lading[repertory_name]}</td>
                    </tr>
                    <tr>
                        <th>仓库地址</th>
                        <td colspan="5">{$lading[address]}</td>
                    </tr>
                    <tr>
                        <th>订单号</th>
                        <th>品名</th>
                        <th width="70">厂家</th>
                        <th width="70">牌号</th>
                        <th width="70">包装规格(kg/包)</th>
                        <th width="70">数量（{$pro_unit}）</th>
                    </tr>
                    {loop $products $v}
                    <tr>
                        <td>{$lading[order_no]}</td>
                        <td>{$v[product_name]}</td>
                        <td>{$v[factory_name]}</td>
                        <td>{$v[brand_name]}</td>
                        <td>{$v[pkg_size]}</td>
                        <td>{$v[product_quantity]}</td>
                    </tr>
                    {/loop}
                    <tr>
                        <td colspan="6">
                            <div class="auth">
                                <p>
                                    现委托上述提货人到贵交易平台交收仓提货。
                                </p>
                                <span>企业（公章）：</span>
                                <i>注：传真同样具备法律效力</i>

                            </div>

                        </td>

                    </tr>
                    </tbody>
                </table>
                <div class="remark clearfix">
                    备注：
                    <p>
                        此表单是用于会员提货所需，在线生成填写或线下表单填写，打印签字盖章后传真或快递到{$site_name}平台（{$site_url}）。
                    </p>
                    <dl class="fl">
                        <dd>服务热线：{$cs_phone}</dd>
                        <dd>仓储联系人：{$lading[contact]}</dd>
                    </dl>
                    <dl class="fr">
                        <dd>QQ：{$cs_qq}</dd>
                        <dd>联系电话：{$lading[contact_mobile]}</dd>
                    </dl>
                </div>
                
                
                </form>
        </section>
    </div>
</main>


{include member.inc.footer}
{include member.inc.script}

<script>
    seajs.use('order_car', function (order_cart) {
        order_cart.leftNavIndex = {dl: 1, dd: 0};
        order_cart.delCartProductUrl= '/member/order/delCartProduct'//确认订单
        order_cart.init();
    });
</script>
{include member.inc.foot_hook}
</body>
</html>
